module Full_Adder(Sum,Cout,A,B,Cin);
output 	Sum,Cout;
input 	A,B,Cin;
wire  	W1,W2,W3,W4,W5,W6,W7;
and	(W1,A,~B,~Cin);
and	(W2,~A,B,~Cin);
and	(W3,~A,~B,Cin);
and	(W7,A,B,Cin);
and	(W4,B,Cin);
and	(W5,A,Cin);
and	(W6,A,B);
or		(Sum,W1,W2,W3,W7);
or		(Cout,W4,W5,W6);
endmodule 
									 	